<br /><br />
<div id="view-content">
    Il y a <?php echo $this->nb ?> activités
    <ul>
        <?php
        foreach ($this->tabActivity as $activity) {
            ?>
            <li>
                <div class='article'>
                    <a class='artTitle'
                       href="<?php echo $this->url(array('module' => 'default', 'controller' => 'Activites', 'action' => 'read', 'id' => $activity->getId())) ?>">
                           <?php echo $activity->getTitle() ?>
                    </a>
                    <div class='artHead'>
                        <?php echo $this->translate('view_event_readall_by') . " " . $activity->getOwner()->toString() ?>
                    </div> 
                    <div class='img'><img src="/appliweb/<?php echo $activity->getPicturePath() ?>"/>
                        <div class='content'><?php echo $activity->getContent() ?></div>
                    </div>
                </div>
            </li>
            <?php
        }
        ?>
    </ul>
    <div class='comments'>
        <?php
        foreach ($this->comments as $comment) {
            ?>
            <div class=comment>
                <div class=comHead>
                    <div class="comAvatar">
                        <img src="/appliweb/public/images/visitor.png"/>
                    </div>
                    <div class="comMeta">
                        <div class=comAuthor>
                            <?php echo $comment->getAuthor()->toString(); ?>
                        </div>
                        <div class=comDate>
                            <?php echo $comment->getDate() ?>
                        </div>
                    </div>
                </div>
                <div class='comContent'> 
                    <?php echo $comment->getContent() ?> 
                </div>
            </div>
            <?php
        }
        ?>
    </div>
    <?php
    echo $this->form;
    ?>
</div>